How to delete the warning 'This method should not be called on the main thread as it may lead to UI unresponsiveness.' shown in xCode14 @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([PostAppDelegate class])); } Developer Tools & Services Xcode iOS Xcode Objective-C Xcode Sanitizers and Runtime Issues 6 0 4k Sep ’22